<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html >
<html lang="en">
<head>
<%@include file="../../../common/includeBaseSet.jsp" %>
<%@include file="../../../common/includeSystemSet.jsp" %>
<%@include file="../../../../common/operation_forbid.jsp" %>
<%@include file="../../../../common/jsVersion.jsp" %>
</head>
<body>
<div class="page-content">
		<div class="row-fluid">	
						  <div class="col-xs-12 panel panel-success">
		  <form id="baseForm" class="form-horizontal">
		    <input type='hidden' class='pageNum' name='pageNum' value='1'/>
			<input type='hidden' class='pageSize'  name='pageSize' value='10'/>
		   
		         <div class="col-xs-6">
		         	    <div class="form-group">
								<label class="col-xs-2 control-label">流程类别:</label>
								<div class="col-xs-4">
									 <select class="form-control" name="processInstanceKey">
										<option value="">全部</option>
										<option value="mktPriceScheme">价格方案</option>
										<option value="mktPriceSchemeInvalid">价格方案失效</option>
										<option value="cusPayDeposit">认筹</option>
										<option value="cusPayDepositRetreat">退认筹</option>
										<option value="cusSubscribe">认购</option>
										<option value="cusSubscribeRetreat">退认购</option>
										<option value="cusSubscribeDiscount">认购折扣</option>
										<option value="cusCubscribeChangeHouse">认购换房</option>
										<option value="cusCubscribeAndSignedChangeName">更名</option>
										<option value="cusCubscribeDelaySingedOne">延期签约(15天内)</option>
										<option value="cusCubscribeDelaySingedTwo">延期签约(15到30天)</option>
										<option value="cusCubscribeDelaySingedThree">延期签约审批(30天以上)</option>
										<option value="cusSigned">签约</option>
										<option value="cusSignedDiscount">折扣审批</option>
										<option value="cusSignedChangeHouse">签约换房</option>
										<option value="cusSignedCheckOut">签约退房</option>								
										<option value="cusSignedChangeHouse">签约换房</option>
										<option value="deferredPaymentOne">应收款延期(15天内)</option>
										<option value="deferredPaymentTwo">应收款延期(15到30天)</option>
										<option value="deferredPaymentThree">应收款延期(30天以上)</option>
										<!-- <option value="dealReserveArea">面积补差</option> -->
										
										
									</select>
								</div>
					      </div>
					      
					      <div class="form-group">
								<label class="col-xs-2 control-label">启动日期:</label>
								<div class="col-xs-4">
									 <input  name="startTimeStart" type="text" class="form-control" readonly="readonly" onClick="WdatePicker()" >
								</div>
								<div class="col-xs-4">
									 <input  name="startTimeEnd" type="text" class="form-control" readonly="readonly" onClick="WdatePicker()">
								</div>
					      </div>
		         </div>
		         <div class="col-xs-6">
		         		  <div class="form-group">
								<label class="col-xs-2 control-label">流程状态:</label>
								<div class="col-xs-4">
									<select class="form-control" name="taskStatus">
										<option value="">全部</option>
										<option value="0">运行中</option>
										<option value="1">已结束</option>
									</select>
								</div>
					      </div>
					      
					      <div class="form-group">
								<label class="col-xs-2 control-label">结束日期:</label>
								<div class="col-xs-4">
								    <input name="endTimeStart" type="text" class="form-control" readonly="readonly" onClick="WdatePicker()">		    
									 
								</div>
								<div class="col-xs-4">
									 <input name="endTimeEnd" type="text" class="form-control" readonly="readonly" onClick="WdatePicker()">
								</div>
					      </div>
					      
					      <div class="form-group">
					           <div class="col-xs-2">
								 
							   </div>
							   <div class="col-xs-4">
							   <button id='searchBtn' class="btn btn-warning  btn-xs" title="查询" type="button" onclick="getbaseList(1)"><i class="icon-search bigger-110 icon-only">查询</i></button>
							   </div>
					      </div>
		         </div>
		    
		   </form> 
		   </div>
			<div class="col-xs-12">
					<table id="baseTable" class="table table-striped table-bordered table-hover" >
						<thead>
							<tr>
								<th style="width:10%" class="center">流程名称</th>
								<th style="width:10%" class="center">发起人</th>
								<th style="width:10%" class="center">运行状态</th>
								<th style="width:10%" class="center">启动时间</th>
								<th style="width:10%" class="center">结束时间</th>
								<th style="width:10%" class="center">操作</th>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
					<div class="row">
						<div class="col-sm-4">
							<div class="dataTables_info customBtn" >
								<c:forEach var="pbtn" items="${permitBtn}">						
									<a href="#" title="${pbtn.name}" id="${pbtn.btnId}" class="lrspace3" ><i class='${pbtn.icon} bigger-220'></i></a>
								</c:forEach>
							</div>
						</div>
						<div class="col-sm-8">
							<!--设置分页位置-->
							<div id="pageing" class="dataTables_paginate paging_bootstrap">
								<ul class="pagination"></ul>
							</div>
						</div>
					</div>
			<!-- #addorUpdateFrom -->
			<%-- <%@include file="form.jsp" %> --%>
			<!-- #dialog-confirm -->
			<%@include file="../../../common/dialog.jsp" %>	
			</div>
		</div>
	</div>	
<script src="${jypath}/static/js/system/workflow/online/his.js?v=${jsVersion}"></script>		
</body>
</html>